<template>
    <div class="app">
        <h3>我是App组件</h3>  
        <!--第一种传递 -->
    <Student :msg='msg' :money='money' :car='car'/>
    </div>
</template>

<script>
/* eslint-disable*/ 
    import Student from './components/Student'
    export default {
        name:'App',
        components:{
            Student
        },
        data(){
            return {
                msg:'你要努力赚钱呀',
                money:200000,
                car:{
                    name:'奥拓',
                    age:3
                }
            }
        }
    }
</script>

<style scoped>
    .app{
        background-color: aqua;
        padding: 30px;
    }
</style>